
import 'package:flutter/material.dart';
import 'package:flutter_deer/index/models/banner_entity.dart';
import 'package:flutter_deer/widgets/state_layout.dart';

class BannerDetailProvider extends ChangeNotifier {

  FocusMapDetailEntity? _detail;
  FocusMapDetailEntity? get detail => _detail;
  StateType? _stateType = StateType.loading;
  StateType? get stateType => _stateType;

  void setBannerDetailEntity(FocusMapDetailEntity? entity){
    _detail = entity;
    _stateType = StateType.empty;
    notifyListeners();
  }

}